package ltd.newbee.mall.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;

/**
 * Created with IntelliJ IDEA.
 *
 * @ProjectName: newbee-mall
 * @Package: ltd.newbee.mall.entity
 * @ClassName: BaseEntity
 * @Author: xiaof
 * @Description:
 * @Date: 2022/2/22 20:17
 * @Version: 1.0
 */

/**
 * 基类
 */
@Data
public class BaseEntity {
    //创建时间
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createTime;
    //创建者id
    private Integer createUser;
    //修改时间
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date updateTime;
    //修改者id
    private Integer updateUser;
}
